import {FC, useEffect} from 'react'
import {useSelector,useDispatch} from 'umi'
const rent:FC=()=>{

    const list =useSelector(state=>state.index)
    const dispatch=useDispatch()
    useEffect(() => {
        dispatch({
            type:'index/query'
        })
    }, [])
    return <div>
        rent
    </div>
}

export default rent